from flask import Blueprint, Flask
from .admin_api import admin_api

api_bp = Blueprint('api', __name__, url_prefix='/api/v1')


def register_api(app: Flask):
    api_bp.register_blueprint(admin_api)
    app.register_blueprint(api_bp)
